<template>
    <i class="iconfont icon"
       :class="`icon-${name}`"></i>
</template>
<script>
export default {
    name: 'icon',
    props: {
        name: String
    }
}
</script>
<style lang='less'>
.icon {
    font-size: 24px;
}
</style>
